import Layout                  from "@/layout/index.vue"
import { createNameComponent } from "../createNode"

const route = [
    {
        path     : "/exploratory",
        component: Layout,
        redirect : "/exploratory/manager",
        meta     : { title: "探索性分析", icon: "sfont system-page" },
        children : [
            {
                path     : "variableRelation",
                component: createNameComponent(() => import("@/views/main/exploratory/variableRelation/VariableRelation.vue")),
                meta     : { title: "变量关系分析", icon: "sfont system-page" },
            },
            {
                path     : "dbscan",
                component: createNameComponent(() => import("@/views/main/exploratory/dbscan/Dbscan.vue")),
                meta     : { title: "多维聚类异常检测", icon: "sfont system-page" },
            },
            {
                path     : "zscore",
                component: createNameComponent(() => import("@/views/main/exploratory/zscore/Zscore.vue")),
                meta     : { title: "执行Z-Score异常检测", icon: "sfont system-page" },
            },
        ],
    },
]

export default route
